package cn.xhy.module.purchase.controller.admin.apply.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 项目物资申请单新增/修改 Request VO")
@Data
public class ProjectOrderSaveReqVO {
    @Schema(description = "id")
    private Long id;

    @Schema(description = "归属项目id")
    private String belongingProject;

    @Schema(description = "期望到期时间")
    private LocalDateTime eTime;

    @Schema(description = "单据日期")
    private LocalDateTime documentDate;

    @Schema(description = "单据编号")
    private String documentNumber;

    @Schema(description = "条码")
    private String barCode;

    @Schema(description = "商品类型", example = "1")
    private String productType;

    @Schema(description = "类别")
    private String category;

    @Schema(description = "货物名称", example = "芋艿")
    private String gname;

    @Schema(description = "型号")
    private String model;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "数量")
    private Integer number;

    @Schema(description = "主要技术参数")
    private String technicalParameter;

    @Schema(description = "金额", example = "8842")
    private BigDecimal price;

    @Schema(description = "备注")
    private String notes;

    @Schema(description = "申请人", example = "芋艿")
    private String applicantName;

    @Schema(description = "申请日期")
    private LocalDateTime applicationDate;

    @Schema(description = "部门负责人审核")
    private String bexamine;

    @Schema(description = "部门负责人审核时间")
    private LocalDateTime bexamineDate;

    @Schema(description = "仓库管理审核")
    private String cexamine;

    @Schema(description = "仓库管理审核时间")
    private LocalDateTime cexamineDate;

    @Schema(description = "批号")
    private Integer batchNumber;

    @Schema(description = "1.项目物资2.零星物资", example = "2")
    private String pType;

    @Schema(description = "是否进入出库流程（1进入）")
    private String isOut;

    @Schema(description = "部门审核不通过原因")
    private String bexamineNo;

    @Schema(description = "仓库审核不通过原因")
    private String cexamineNo;

    @Schema(description = "规格")
    private String specif;

    @Schema(description = "子件id", example = "5885")
    private String sonId;

    @Schema(description = "父id", example = "26323")
    private Integer parentId;

    @Schema(description = "特殊先入库数据——2（流程不完整''，先入库")
    private String initialData;

    @Schema(description = "1—备货")
    private String bh;

    @Schema(description = "1作废")
    private String isCancel;

}
